<script>
	export default {
		onLaunch: function() {
			console.log('App Launch');
		},
		onShow: function() {
			console.log('App Show');
		},
		onHide: function() {
			console.log('App Hide');
		},
		// 不修改的全局变量
		globalData:{
			webUrl : "http://192.168.1.102:81",
			loginUrl : "http://192.168.1.102:81/user/login/loginAction",
			checkJwtUrl : "http://192.168.1.102:81/user/login/checkJwtValidAction",
			getTimeUrl : "http://192.168.1.102:81/index/index/getCurTimeAction",
			submitDayNoteUrl : "http://192.168.1.102:81/daynote/index/operateDayNoteAction",
			getDayNoteListUrl : "http://192.168.1.102:81/daynote/index/getDayNoteListAction",
			delDayNoteActionUrl : "http://192.168.1.102:81/daynote/index/delDayNoteAction",
			getDayNoteInfoActionUrl : "http://192.168.1.102:81/daynote/index/getDayNoteInfoAction",
			tmplId: '-Xhsa9YapQ5WIkpb26odUmKgELceU3O74J12JZHmcHA', // 微信小程序订阅消息模版id
			terminal : 0 // 当前设备, 0-微信小程序
		}
	}
</script>

<style lang="scss">
	/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
	@import "uview-ui/index.scss";
	
	/* 头条小程序需要把 iconfont 样式放到组件外 */
	@import "components/m-icon/m-icon.css";

	page{
		background-color: #f5f5f5;
	}
</style>
